export const getUserId = () => {
  const userInfo = JSON.parse(localStorage.getItem('userInfo') || '{}')
  return userInfo.id
}

export const getUserInfo = () => {
  return JSON.parse(localStorage.getItem('userInfo') || '{}')
} 